package oop1;

/**
 * @author oldliu
 * @since 1.0
 */
public class SchoolDemo8 {
    public static void main(String[] args) {
        School zhang=new School();
        zhang.name="淮南工业大学";
        zhang.address="淮南";
        zhang.classrooms=32;
        zhang.labs=19;

        //int t=zhang.getJifangAndRoomZongshu();
        int x = zhang.getJifangAndRoomZongshu();
        System.out.println("这个学校机房和教室有"+x+"间");
        String adr=zhang.getAddress();
        System.out.println("地址在："+adr);

        System.out.println(">>>>>>>>>>>>>>>>>");
        zhang.show();
    }
}
